<!DOCTYPE html>
<html class="index_body">
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=10">
    <meta http-equiv="Expires" content="0">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="Cache-control" content="no-cache">
    <meta http-equiv="Cache" content="no-cache">
    <title></title>
    <link rel="stylesheet" href="/Public/mui/computer/css/bootstrap.css"/>
    <link rel="stylesheet" href="/Public/mui/computer/css/index.css"/>
    <link rel="stylesheet" href="/Public/mui/css/page.css"/>
    <link rel="stylesheet"  href="/Public/mui/static/bower_components/sweetalert/dist/sweetalert.css">

</head>
<body class="index_body">
<include file="Lay:heder" />
<div id="section">
    <table class="table table-hover all_table table-striped">
        <thead class="all_thead">
         <tr>
           <th>渠道编号</th>
           <th>订单号</th>
           <th>渠道状态</th>
           <th>渠道姓名</th>
           <th>渠道银行名称</th>
           <th>渠道银行户主</th>
           <th>渠道银行卡号</th>
           <th>打款金额</th>
           <th>打款状态</th>
           <th>操作</th>
         </tr>
        </thead>
        <tbody class="tables_order table_hover table_l">
            <foreach name="channellist" item="v" >
                <tr orderid="{{$v['id']}}">
                    <td>{{$v['waynum']}}</td>
                    <td>{{$v['orderid']}}</td>
                    <td><if condition="($v['Waystatus'] eq 3)"> 
                           已关闭
                        <else/>
                        已激活
                        </if>
                    </td>
                    <td>{{$v['name']}}</td>
                    <td>{{$v['bank']}}</td>
                    <td>{{$v['banker']}}</td>
                    <td>{{$v['banknum']}}</td>
                    <td>{{$v['money']}}</td>
                    <td><if condition="($v['status'] eq 0)">未打款<else/>已打款</if></td>
                    <td>
                        <button type="button" onclick="Receivables({{$v['id']}},{{$v['waynum']}},1)" class="btn btn-success navbar-btn">确认打款</button>
                    </td>
                </tr>
             </foreach>
        </tbody>
        <div class="dao_Exe">
            <button type="button" onclick="ExcelExport(3);" class="btn btn-info">导出Excel</button>
        </div>
    </table>
    <include file="News:news" />
     <nav aria-label="Page navigation" class="pagin">
        <div class ="black2">{{$page}}</div>
     </nav>
</div>
<script src="/Public/mui/computer/js/jquery-1.11.3.js"></script>
<script type="text/javascript" src="/Public/mui/static/bower_components/sweetalert/dist/sweetalert.min.js"></script>
<script src="/Public/mui/computer/js/channelnum.js"></script>
<script type="text/javascript" src="/Public/mui/computer/js/functions.js"></script>
<script src="/Public/mui/computer/js/back.js"></script>
<script>
    $("#logo_type").attr("src","/Public/mui/computer/img/caiwu.png");
</script>
</body>
</html>